fix clang diagnostic cast-qual (#967)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sat, 31 Dec 2022 12:27:50 +0000 (05:27 -0700)
committerGitHub <noreply@github.com>
Sat, 31 Dec 2022 12:27:50 +0000 (05:27 -0700)
commit1a38301be06a8b9ed36560fe7cb9bdda86e0529c
treeadcf4bf05d8403b5d034b9e8726a8157831b80e6
parente9786f1f44540bcb409e90a25b4bea046083fd2d
fix clang diagnostic cast-qual (#967)

* fix cast-qual clang diagnostic

* use const_cast to cheat

* decay an array with casts.

the assembly code for gpsusbwin and gpsusbcommon does match the master branch.

* explicitly use const with auto*
exif.cc
gui/gpx.h
jeeps/gpsusbcommon.cc
jeeps/gpsusbwin.cc
jeeps/jgpsutil.cc
navilink.cc
skytraq.cc
util.cc
util_crc.cc
wbt-200.cc